﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ttbit.math
{
    public struct Pos1D
    {
        public Pos1D(float _scale = 0, int _offset = 0)
        {
            this.scale = _scale;
            this.offset = _offset;
        }
        public float scale;
        public int offset;
    }
    public struct Pos2D
    {
        public Pos2D(float _scalex = 0, int _offsetx = 0, float _scaley = 0, int _offsety = 0)
        {
            this.scaleX = _scalex;
            this.offsetX = _offsetx;
            this.scaleY = _scaley;
            this.offsetY = _offsety;
        }
        public float scaleX;
        public int offsetX;
        public float scaleY;
        public int offsetY;
    }
    public struct Size
    {
        public int sizeX;
        public int sizeY;
        public Size(int sizeX, int sizeY)
        {
            this.sizeX = sizeX;
            this.sizeY = sizeY;
        }
    }

}
